home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Development / Source / Mailcheck Source / drvr src / mmc_prep.h < prev   
Text File  |  1990-08-07  |  936b  |  35 lines

  1. /*
  2.  * interface file to prep file reader writer
  3.  * by Aaron Wohl (aw0g+@andrew.cmu.edu) jul 1990
  4.  * Carnegie-Mellon University
  5.  * Special Projects
  6.  * Pittsburgh, PA 15213-3890
  7.  * (412)-268-5032
  8.  */
  9.  
  10. #define PREP_NAME "\pMailCheck Prep"
  11. #define PREP_RES_NUM (1234)
  12.  
  13. void mmc_init_state(mmc_state_pt s);
  14. void mmc_invent_state(mmc_state_pt s);
  15.  
  16. struct sound_res_state_R {
  17.     short prev_res;
  18.     short sound_res;
  19. };
  20. typedef struct sound_res_state_R sound_res_state,*sound_res_state_pt;
  21.  
  22. sound_res_state mmc_use_sound_res(void);
  23. void mmc_close_sound_res(sound_res_state sstate);
  24.  
  25. int mmc_read_prep(mmc_state_pt s);
  26. int mmc_write_prep(mmc_state_pt s);
  27. int mmc_dont_like_prep(mmc_state_pt s);
  28. /*
  29.  * note set_drvr_state returns the new updated state
  30.  */
  31. int mmc_get_drvr_state(int refnum,mmc_state_pt s);
  32. int mmc_set_drvr_state_sound_no(int refnum,mmc_state_pt s,int iokind);
  33. int mmc_set_drvr_state_sound_yes(int refnum,mmc_state_pt s,int iokind);
  34.  
  35.